package cn.com.petrochina.lpm3.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName PC_PRO_HORIZON_STATUS_DAILY
 */
@TableName(value = "PC_PRO_HORIZON_STATUS_DAILY")
@Data
public class ProHorizonStatusDaily implements Serializable {
    /**
     * 唯一的井标识符，独立且唯一，引用“PC_WELL_PROD_HORIZON)表的井ID(WELL_ID)字段”
     */
    @MppMultiId
    @TableField(value = "WELL_ID")
    private String wellId;

    /**
     * 唯一的井筒标识符，独立且唯一，引用“PC_WELL_PROD_HORIZON)表的井筒ID(WELLBORE_ID)字段”
     */
    @MppMultiId
    @TableField(value = "WELLBORE_ID")
    private String wellboreId;

    /**
     * 引自PC_WELL_PROD_HORIZON
     */
    @MppMultiId
    @TableField(value = "PROD_HORIZON_ID")
    private String prodHorizonId;

    /**
     * 填写格式：YYYY-MM-DD
     */
    @MppMultiId
    @TableField(value = "PROD_DATE")
    private Date prodDate;

    /**
     * 油品分类
     */
    @TableField(value = "OIL_PRODUCTS_SORTING")
    private String oilProductsSorting;

    /**
     * 驱动类型，参见代码表“PC_PK_DRIVER_TYPE”
     */
    @TableField(value = "DRIVING_TYPE_CODE")
    private String drivingTypeCode;

    /**
     * 开发层位所属的地质单元ID
     */
    @TableField(value = "PROJECT_ID")
    private String projectId;

    /**
     * 是否主产层：1,是；2,否；0,空。主产层计井数，非主产层计井次。
     */
    @TableField(value = "PROD_HORIZON_FLAG")
    private String prodHorizonFlag;

    /**
     * 采出方式变更当天填变更后采出方式；每月最后一天填月末采出方式，参见代码表“PC_PK_PROD_METHOD”
     */
    @TableField(value = "OIL_PROD_METHOD")
    private String oilProdMethod;

    /**
     * 油管闸门后的节流降压设备，主要油嘴MM
     */
    @TableField(value = "OIL_NOZZLE")
    private BigDecimal oilNozzle;

    /**
     * 油管闸门后的节流降压设备，次要油嘴MM
     */
    @TableField(value = "OIL_NOZZLE2")
    private BigDecimal oilNozzle2;

    /**
     * 油气通过油嘴降压后的井口输出压力MPA
     */
    @TableField(value = "BACK_PRES")
    private BigDecimal backPres;

    /**
     * 掺水压力MPA
     */
    @TableField(value = "WATER_MIX_PRES")
    private BigDecimal waterMixPres;

    /**
     * 掺水温度℃
     */
    @TableField(value = "WATER_MIX_TEMP")
    private BigDecimal waterMixTemp;

    /**
     * 回油温度℃
     */
    @TableField(value = "RETU_OIL_TEMP")
    private BigDecimal retuOilTemp;

    /**
     * 热采计量站进口汇管前的温度℃
     */
    @TableField(value = "STATION_ENTRY_TEMP")
    private BigDecimal stationEntryTemp;

    /**
     * 计量站输气干线压力MPA
     */
    @TableField(value = "MAIN_LINE_PRES")
    private BigDecimal mainLinePres;

    /**
     * 油气分离器的测气压力MPA
     */
    @TableField(value = "GAS_MEASURE_PRESSURE")
    private BigDecimal gasMeasurePressure;

    /**
     * 油气分离器的测气压差MPA
     */
    @TableField(value = "GAS_MEASURE_PRES_DIFF")
    private BigDecimal gasMeasurePresDiff;

    /**
     * 油气分离器的测气温度℃
     */
    @TableField(value = "GAS_MEASURE_TEMPERATURE")
    private BigDecimal gasMeasureTemperature;

    /**
     * 测气仪器的直径MM
     */
    @TableField(value = "GAS_MEASURE_BAFFLE")
    private BigDecimal gasMeasureBaffle;

    /**
     * 所用针型阀的开度
     */
    @TableField(value = "NEEDLE_VALVE_OPEN_DEGREE")
    private String needleValveOpenDegree;

    /**
     * 该井在该生产层位的吞吐周期
     */
    @TableField(value = "COMPLETION_PERIOD")
    private String completionPeriod;

    /**
     * 换轮后首日见产的日期，填写格式：YYYY-MM-DD
     */
    @TableField(value = "PERIOD_PRO_DATE")
    private Date periodProDate;

    /**
     * 天然气出站压力MPA
     */
    @TableField(value = "STATION_EXIT_PRES")
    private BigDecimal stationExitPres;

    /**
     * 天然气进站压力MPA
     */
    @TableField(value = "STATION_ENTRY_PRES")
    private BigDecimal stationEntryPres;

    /**
     * 天然气计量站的分离器压力MPA
     */
    @TableField(value = "SEPARATOR_PRES")
    private BigDecimal separatorPres;

    /**
     * 天然气计量站的计量温度℃
     */
    @TableField(value = "MEASURE_TEMP")
    private BigDecimal measureTemp;

    /**
     * 参见代码表“PC_PK_HOTWASHLIQ_TYPE”
     */
    @TableField(value = "MIXED_LIQ_TYPE")
    private String mixedLiqType;

    /**
     * 注入井的注气压力MPA
     */
    @TableField(value = "GAS_INJ_PRES")
    private BigDecimal gasInjPres;

    /**
     * 创建日期
     */
    @TableField(value = "CREATE_DATE")
    private Date createDate;

    /**
     * 创建用户ID
     */
    @TableField(value = "CREATE_USER_ID")
    private String createUserId;

    /**
     * 最后更新日期
     */
    @TableField(value = "UPDATE_DATE")
    private Date updateDate;

    /**
     * 最后更新用户ID
     */
    @TableField(value = "UPDATE_USER_ID")
    private String updateUserId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}